package com.example.demo.service;

import com.example.demo.entity.User;
import com.example.demo.util.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result login(String userId, String userPassword, HttpServletRequest request);
    Result info(HttpServletRequest request);
    Result selectAllUser(String userId,String userName,
                         String roleName,HttpServletRequest request);
    Result insert(User user);
    Result update(User user);
    Result delete(String userId);
}
